$Status= smtp.SendTextMail (<From>, <To>, <Subject>, <Text>)
This is a high level function which allows to set From, To, Subject, Text and also allows to send text mail in a single function.
Parameters
<From> Denotes the address of the sender.
<To> Denotes the address of the recipient.
<Subject> Denotes the subject of the e-mail.
<Text> Denotes the content of the e-mail in text format.
Return Value
Function returns 1 on success, 0 on failure.